package com.rui.patterns.proxy.static_proxy;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : ProxyPoint
 * @createTime : [2022/2/21 15:34]
 * @description : [代售点]
 */

public class ProxyPoint implements SellTickets{

    /**
     * 生命火车站对象
     */
    private TrainStation trainStation = new TrainStation();

    @Override
    public void sell() {
        System.out.println("代售点收取一些服务费用");
        trainStation.sell();
    }
}
